<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
</head>
<body>
<div ng-app="myApp" ng-controller="customersCtrl">
    <table>
        <tr ng-repeat="x in names">
            <td>{{ x.content }}</td>
            <td>{{ x.times }}</td>
        </tr>
    </table>
</div>
<script>
    var app = angular.module('myApp', []);
    app.controller('customersCtrl', function($scope, $http) {
        $http.post("http://api.he29.com/api/twitter/find").success(function (response) {
            console.log(response);
            $scope.names = response.list;
        });
//        $http({
//            method:'POST',
//            url:'post.php',
//            data: {name:'angular',password:'333',age:1}
//        }).success(function (response) {
//            console.log(response);
//            $scope.names = response.list;
//        }).error(function () {
//            console.log('error');
//        })
    });
</script>
</body>
</html>